#
# Makefile for 4p - Copyright (c) 2006 Helmar Wodtke
#
MAKE    = make
RESULTS = libncwrap.so
PREFIX  = "../../bin/`uname`/`uname -m`"
ALL     = wrap-

all: $(ALL)
%-: %.mk
	$(MAKE) -f $*.mk

win:
	$(MAKE) -f wrap.mk win

clean:
	-rm -f *~
distclean: clean
	for a in *.mk ; do $(MAKE) -f $$a distclean ; done

install: all
	mkdir -p $(PREFIX)
	cp -f $(RESULTS) $(PREFIX)
